#ifndef ELLIPTICQ_H_INCLUDED
#define ELLIPTICQ_H_INCLUDED
#include </usr/include/gmp.h>
#include </usr/include/gmpxx.h>

struct S_point{
	    mpq_class x;
	    mpq_class y;
};


class EllCv{

public:


virtual S_point add(S_point , S_point );
bool isPoint(S_point p);
bool isElliptic();
virtual S_point multiple(mpz_class n, S_point p )=0;




};
class Kubik : public EllCv{};
class WSQ: public Kubik{

	S_point add(S_point p1, S_point p2);

};
class Debouf : public Kubik{};

#endif // ELLIPTICQ_H_INCLUDED
